package com.bolt.auth.security.auth.server.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * Created by Administrator on 2020/11/20.
 */
public interface AuthUserDetailsService extends UserDetailsService {

    /**
     * 根据电话号码查询用户
     * @param mobile
     * @return
     */
    UserDetails loadUserByMobile(String mobile);

}
